package com.string;

import java.util.Scanner;

public class string1 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
//        String s = scanner.nextLine();
        String s = "我爱中国";
        System.out.println("-------------");
//        System.out.println(s);
        String[] split = s.split("");
        for (int i = s.length(); i > 0; i--) {
            System.out.print(s.charAt(i-1));
        }


    }
}
